﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Ext.Net;

namespace SocialGame.Models
{
    public class AnswerModel
    {
        public int ID
        {
            get;
            set;
        }
        public int QuestionId
        {
            get;
            set;
        }
        public string Contents
        {
            get;
            set;
        }
        public string AnswerSign
        {
            get;
            set;
        }

        public bool AnswerValue
        {
            get;
            set;
        }

        public AnswerType Type
        {
            get;
            set;
        }

        public int Point
        {
            get;
            set;
        }

        public string Hint
        {
            get;
            set;
        }       


    }
    public class AnswerType
    {
        public int ID
        {
            get;
            set;
        }

        public String Name
        {
            get;
            set;
        }
        public static List<AnswerType> GetAnswerType()
        {
            return new List<AnswerType>
                {
                    new AnswerType {  ID= 1,Name = "Text" }, 
                    new AnswerType {  ID= 2,Name = "Tự điền" },
                    new AnswerType {  ID= 3,Name = "Ảnh" } 
                };

        }
    }
}
